package com.exam.system.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @Description  试卷实体类
 * @versions 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel("试卷实体类")
public class ExamPaper {
    @ApiModelProperty("试卷主键")
    private Integer id;
    @ApiModelProperty("试卷主键")
    private String  paperName;
    @ApiModelProperty("试卷类型")
    private String groupMethod;
    @ApiModelProperty("试卷用途")
    public String   usefor;//用途
    @ApiModelProperty("预览地址")
    private String url;//预览地址
    @ApiModelProperty("是否有问答题")
    private  Integer hasShortAnswer;//是否有问答题
    @ApiModelProperty("单选题默认分数")
    private  Integer  totalGrade1;
    @ApiModelProperty("多选题默认分数")
    private Integer totalGrade2;
    @ApiModelProperty("判断题总分数")
    private  Integer totalGrade3;
    @ApiModelProperty("填空题总分数")
    private  Integer totalGrade4;//及格分
    @ApiModelProperty("问答题总分数")
    private  Integer  totalGrade5;//问答题分数
    @ApiModelProperty("单选题默认分数")
    private  Integer defaultGrade1;
    @ApiModelProperty("多选题默认分数")
    private Integer defaultGrade2;
    @ApiModelProperty("判断题默认分数")
    private Integer defaultGrade3;
    @ApiModelProperty("填空题默认分数")
    private Integer defaultGrade4;
    @ApiModelProperty("简答题默认分数")
    private Integer defaultGrade5;
    @ApiModelProperty("单选题数量")
    private  Integer nums1;//题目数量
    @ApiModelProperty("多选题数量")
    private  Integer nums2;
    @ApiModelProperty("判断题数量")
    private  Integer nums3;
    @ApiModelProperty("填空题数量")
    private  Integer nums4;
    @ApiModelProperty("简答题数量")
    private  Integer nums5;
    @ApiModelProperty("创建人id")
    private Integer creatorId;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("更新时间")
    private Date updateTime;
    @ApiModelProperty("是否被删除")
    private  String isdel;
}
